package com.haq.housesystem.service;

import com.github.pagehelper.PageInfo;
import com.haq.housesystem.bean.Admins;

import java.util.List;

public interface AdminsService {


        public void insert(Admins admins);
        public void update(Admins admins);
        public void delete(String adminsId);
        public void deleteByIds(String[] adminsIds);
        public List<Admins> selectAll();
        public Admins selectById(String adminsId);
        public List<Admins> selectByNameState(String adminsName,int adminsState);
        public  int getNumer();

        //查询全部 分页显示
        public PageInfo<Admins> selectAllByPageInfo(int curPage,int size);
        //搜索管理员 分页显示
        public PageInfo<Admins> selectByNameStateByPageInfo(int curPage,int size,String adminsName,int adminsState);

}
